Stock analysis tools Loading Data: Yahoo Finance (via our server, may be delayed)

〽️ Stock RSI Divergence

Finds confirmed regular and hidden RSI(14) divergences on stock charts, draws them on price and RSI, and scans 50 Korean and 50 US large caps for new ones on daily bars. Not advice.

–

–

Loading…
Bullish divergence Bearish divergence Dashed = hidden Dot = second pivot Last 5 bars, not yet confirmable

A swing high or low is only confirmed once the 5 bars to its right have closed, so a divergence appears 5 bars after its second pivot. Once shown, it never moves or disappears (no repainting). The bar still forming during the session is not judged.

Current state

Price–
RSI(14)–
Latest signal–
Confirmed signals–
–

What happened in the 10 bars after

TypeCountAs expectedAverage
–

Close of the confirmation bar → close 10 bars later. Bullish counts as expected if price rose, bearish if it fell. Only signals in the bars loaded here are counted; rows with fewer than 5 are dimmed. Past results, not a forecast.

Divergences on this chart

Second pivot Type Confirmed Price (1st → 2nd) RSI Next 10 bars
–

Select a row to jump the chart to that divergence.

–

Stock Type Confirmed RSI Price change between pivots RSI, last closed bar
Loading

Each stock is calculated on daily bars (last 1 year), and only divergences confirmed within the last 10 closed bars are shown (today's bar still forming is not included). Select a stock to open that divergence in the chart above on daily bars. While the market is open the list is rescanned every 5 minutes (the server's daily-bar cache interval); while it is closed the page only checks whether it has opened. The stock lists are the same as the large-cap scanner's.

Unfamiliar term? → Crypto & Stock Glossary

For information only, not investment advice. Prices come from Yahoo Finance via our server and may be delayed 15–20 minutes or more depending on the exchange, or interrupted. Charts: TradingView Lightweight Charts™

What this tool does

An RSI divergence is when price and RSI point in different directions. If price makes a lower low while RSI makes a higher low, the shape is read as selling momentum fading. This tool finds confirmed swing highs and lows on Korean, US and Japanese stock, ETF and index charts, draws the four types (regular and hidden, bullish and bearish) as lines on the price chart and the RSI pane, and scans the daily bars of 50 Korean and 50 US large caps for newly confirmed divergences. It is the stock version of the crypto RSI divergence tool: the detection rules are the same and prices come from Yahoo Finance. A divergence is a shape in past prices; it does not tell you the next move.

How it is calculated

RSI is the 14-bar Wilder RSI of closes. A swing low is a bar whose low is below all 5 bars to its left and at or below the 5 bars to its right; a swing high is the mirror image with highs. It is only confirmed when the 5 bars to its right have closed, so a signal always appears 5 bars after the second pivot, and the bar still forming during the session is excluded. For two consecutive swing lows 5–60 bars apart: lower low with higher RSI is regular bullish, higher low with lower RSI is hidden bullish. For two consecutive swing highs: higher high with lower RSI is regular bearish, lower high with higher RSI is hidden bearish. The noise filter (on by default) keeps a regular bullish divergence only if either RSI is below 40, and a regular bearish one only if either RSI is above 60; it does not apply to hidden ones. If the bars loaded are not the full listing history, pivots within the first 100 bars are skipped so RSI can settle (on daily and weekly bars the history counts as full when the first bar is more than 30 days after the start of the range). 'Next 10 bars' is the change from the confirmation bar's close to the close 10 bars later. The chart needs at least 40 bars. Timeframes and ranges: 15m 5 days or 1 month (default 1 month), 1H 1, 3, 6 months or 1 year (default 6 months), 1D 6 months, 1, 2 or 5 years (default 2 years), 1W 2, 5 or 10 years (default 10 years). The scanner uses the large-cap scanner's lists (50 Korean, 50 US), calculates each stock on 1 year of daily bars, and shows only divergences whose second pivot was confirmed within the last 10 closed bars.

How to read each section

Top toggles: noise filter and hidden

The noise filter (RSI 40/60) and Show hidden buttons apply to both the chart and the scanner. Both only recalculate from bars already loaded, so no new request is sent. Turning the filter off adds regular divergences formed while RSI stayed in the middle range. Your choices stay in the address bar, so a shared link opens the same view.

Price chart and RSI pane

Under the stock name you see 'Market open' or 'Market closed', the time of the last quote, and '~20 min delay' for Korean and Japanese stocks. Lines join the two pivots on the candles, and the second pivot bar gets a dot labelled with the type (bullish below the bar in the up colour, bearish above it in the down colour). The lower pane is RSI(14) with dashed 70 and 30 lines and a dotted 50 line, and the RSI values at the same two pivots are joined too. The pale band at the right edge covers the last 5 closed bars, which cannot be confirmed yet, and the forming bar. Both panes share the time axis and crosshair. The chart is re-read every 60 seconds while the market is open or within 45 minutes of the close, otherwise every 10 minutes.

Current state

The tiles show the price (with its quote time), RSI(14), the latest signal and the number of confirmed signals. The large RSI figure is the last closed bar; during the session the small line shows the forming bar. The text gives the latest signal's two pivot prices and RSI values, the change since the confirmation bar closed, and the RSI zone of the last closed bar (70 or above, 50–70, 30–50, 30 or below). If a bar among the last 5 already meets the conditions, it is listed as a candidate that confirms if its low (high) holds for the remaining bars. A candidate is not a signal.

What happened in the 10 bars after

Confirmed signals within the bars loaded are grouped by type, measuring the change from the confirmation bar's close to the close 10 bars later. Count is the number of signals with 10 bars since, 'As expected' is the share that rose (bullish) or fell (bearish), and Average is the mean change. The 5 bars before confirmation are not included. Rows with fewer than 5 samples are dimmed; with so few, a couple of signals can move the share a lot.

Divergences on this chart

Confirmed divergences, newest first. Columns: time of the second pivot (exchange time), type, bars since confirmation, the two pivot prices and their change, the two RSI values, and the change over the next 10 bars. Signals younger than 10 bars show 'pending (k/10)'. Select a row to move the chart to that signal. If a divergence you see by eye is missing, check the 5–60 bar gap and the noise filter.

Divergence scanner: 50 large caps

The same 50 Korean and 50 US stocks as the large-cap scanner, each on 1 year of daily bars, showing only divergences confirmed within the last 10 closed bars. Sorted by most recent confirmation, regular before hidden, then list order. One year of daily bars is the same request as the large-cap scanner and the BB squeeze tool, so it shares the server's cache. While the market is open or the last quote is under an hour old the list is rescanned every 5 minutes; while it is closed the page fetches one stock to see whether it has opened. Stocks refused because of too many requests are retried alone after 30 seconds.

Things to know

Frequently asked questions

Is the calculation different from the crypto version?

RSI(14), 5 bars either side for pivots, a 5–60 bar gap, the 40/60 noise filter, the 100-bar warm-up, the next-10-bar statistics and the candidate check use the same formulas and constants. The differences: data from Yahoo Finance; timeframes 15m, 1H, 1D, 1W (no 4H) chosen with a range (the crypto tool loads the last 1,000 bars); closed bars judged by the exchange's regular session; full history detected from the first bar's date (the crypto tool uses the bar count); the scanner covers 50 Korean and 50 US large caps on daily bars (the crypto tool scans the top 30 coins by volume on the chosen timeframe); and chart signals are dots instead of arrows.

Why does a signal appear 5 bars late?

A bar is a swing low only when the 5 bars to its right have closed without a lower low. So a divergence is confirmed 5 bars after its second low. Drawing it earlier would let it vanish or move if price dips again (repainting). On daily bars that is 5 trading days, on weekly bars 5 weeks.

What is the difference between regular and hidden divergence?

A regular divergence is a new low (or high) in price that RSI does not confirm, read as the current trend's momentum easing. A hidden divergence is a higher low (or lower high) in price while RSI goes lower (higher), classed as the existing trend continuing.

Why does the scanner use daily bars only?

Fetching 100 stocks on intraday bars often would load the price server heavily. One year of daily bars is the same request as the large-cap scanner, so it shares the server's cache and adds no requests. Other timeframes are available one stock at a time in the chart above.

Results differ from my broker or TradingView.

RSI varies a little with where the calculation starts; here it starts at the first bar of the chosen range (1 year of daily bars for the scanner). TradingView's built-in divergence indicator finds highs and lows in the RSI line itself, while this tool finds swing highs and lows in price and compares RSI at those bars, so some signals differ. Korean and Japanese quotes are about 20 minutes late, and daily bars can be up to 5 minutes old because of the server's shared cache.

For information only, not investment advice. Divergences and the after-confirmation statistics are calculated from past prices and do not predict prices. Quotes come from Yahoo Finance via this site's server and may be delayed or interrupted.

📚 Worth reading
🔎Using a Stock Scanner: Condition Scans and Their Traps→ 🔀How to Read Divergence: Regular, Hidden, Bullish, Bearish→ 💱Exchange Rates and US Stock Charts: Dollars vs Won Returns→ 🌙Weekends and 24-Hour Trading: Crypto Moves, Stocks Stop→
← All stock tools